import types from './types'

const mutations = {
  [types.UPDATE_TYPE](state) {
    state.type = !state.type
  }
}

export default mutations